<html>
<head>
</head>
<body>
<div class="page-container">
    <div class="page-content">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet light bordered">
                        <div class="portlet-title">
                            <div class="caption">
                              <span class="caption-subject font-green-sharp bold uppercase">
                              <i class="fa fa-gift"></i> 修改项目信息
                              </span>
                            </div>
                        </div>
                        <div class="portlet-body form">
                            <form action="javascript:;" id="updateForm" class="form-horizontal">
                                <input class="hidden" name="proId" id="proId" value="${thisProject.pro_id}"/>
                                <div class="form-body">
                                    <div class="row">
                                        <div class="form-group">
                                            <label class="col-md-2 col-sm-4 col-xs-4 control-label">项目名称：</label>
                                            <div class="col-md-8 col-sm-8 col-xs-8">
                                                <div class="input-icon right">
                                                    <i class="fa"></i>
                                                    <input class="form-control" type="text" id="proName" value="${thisProject.pro_name}"
                                                           placeholder="请输入项目名称" name="proName" validate="{required:true}">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="form-group">
                                            <label class="col-md-4 col-sm-4 col-xs-4 control-label">负责部门：</label>
                                            <div class="col-md-4 col-sm-4 col-xs-4">
                                                <select class="form-control resourceId" name="iDepart"
                                                        id="iDepart">
                                                    <option value="">请选择</option>
                                                    <option value="d1">财务部门</option>
                                                    <option value="d2">人事部门</option>
                                                    <option value="d3">执行部门一</option>
                                                    <option value="d4">执行部门二</option>
                                                </select>
                                                <input class="hidden" id="iDepartHid" value="${thisProject.i_depart}"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="form-group">
                                            <label class="col-md-4 col-sm-4 col-xs-4 control-label">预计终止时间：</label>
                                            <div class="col-md-4 col-sm-4 col-xs-4">
                                                <div class="input-icon right">
                                                    <i class="fa"></i>
                                                    <input type="text" placeholder="请选择预计终止时间" id="predictEndTime" name="predictEndTime"
                                                           class="form-control" onClick="WdatePicker({dateFmt: 'yyyy-MM-dd'});" value="${thisProject.predict_end_time}">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="form-group">
                                            <label class="col-md-4 col-sm-4 col-xs-4 control-label">项目描述：</label>
                                            <div class="col-md-8 col-sm-8 col-xs-8">
                                                <div class="input-icon right">
                                                    <i class="fa"></i>
                                                    <textarea id="proDescribe" name="proDescribe" class="form-control" rows="2"
                                                              placeholder="请输入项目简要描述" >${thisProject.pro_describe}</textarea>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="text-right">
                                            <button type="button" class="btn green"
                                                    onclick="doUpd()">确认修改
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                        <script src="${basePath}/static/module/projectManage/updProject.js${jsResourceVersion}"></script>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>